Optimal. Leaf size=38 \[ \frac {\sin ^{n+1}(c+d x) \, _2F_1(2,n+1;n+2;-\sin (c+d x))}{a^2 d (n+1)} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.07, antiderivative size = 38, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 27, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.074, Rules used = {2833, 64} \[ \frac {\sin ^{n+1}(c+d x) \, _2F_1(2,n+1;n+2;-\sin (c+d x))}{a^2 d (n+1)} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 64
Rule 2833
Rubi steps
\begin {align*} \int \frac {\cos (c+d x) \sin ^n(c+d x)}{(a+a \sin (c+d x))^2} \, dx &=\frac {\operatorname {Subst}\left (\int \frac {\left (\frac {x}{a}\right )^n}{(a+x)^2} \, dx,x,a \sin (c+d x)\right )}{a d}\\ &=\frac {\, _2F_1(2,1+n;2+n;-\sin (c+d x)) \sin ^{1+n}(c+d x)}{a^2 d (1+n)}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.04, size = 38, normalized size = 1.00 \[ \frac {\sin ^{n+1}(c+d x) \, _2F_1(2,n+1;n+2;-\sin (c+d x))}{a^2 d (n+1)} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [F] time = 0.49, size = 0, normalized size = 0.00 \[ {\rm integral}\left (-\frac {\sin \left (d x + c\right )^{n} \cos \left (d x + c\right )}{a^{2} \cos \left (d x + c\right )^{2} - 2 \, a^{2} \sin \left (d x + c\right ) - 2 \, a^{2}}, x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\sin \left (d x + c\right )^{n} \cos \left (d x + c\right )}{{\left (a \sin \left (d x + c\right ) + a\right )}^{2}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [F] time = 4.02, size = 0, normalized size = 0.00 \[ \int \frac {\cos \left (d x +c \right ) \left (\sin ^{n}\left (d x +c \right )\right )}{\left (a +a \sin \left (d x +c \right )\right )^{2}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\sin \left (d x + c\right )^{n} \cos \left (d x + c\right )}{{\left (a \sin \left (d x + c\right ) + a\right )}^{2}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.03 \[ \int \frac {\cos \left (c+d\,x\right )\,{\sin \left (c+d\,x\right )}^n}{{\left (a+a\,\sin \left (c+d\,x\right )\right )}^2} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________